projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22bcd62
)
notebook: add a style class when the child tab is reorderable
author
William Jon McCann
<william.jon.mccann@gmail.com>
Fri, 24 Jan 2014 21:29:31 +0000
(16:29 -0500)
committer
William Jon McCann
<william.jon.mccann@gmail.com>
Fri, 24 Jan 2014 22:27:27 +0000
(17:27 -0500)
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 0b0791de866b6c8bfe1ba9d2db6a2e9da62b6ba8..b610b6cc824c1288c8aaee133e9595c6f6d895ba 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-2016,6
+2016,9
@@
notebook_tab_prepare_style_context (GtkNotebook *notebook,
gtk_style_context_add_region (context, GTK_STYLE_REGION_TAB, flags);
+ if (page->reorderable)
+ gtk_style_context_add_class (context, "reorderable-page");
+
switch (tab_pos)
{
case GTK_POS_TOP: